package com.zheng.damo01.homeWeark.作业五;

public interface CompareAble {
    default void CompareAble(Apple apple1,Apple apple2){
        if (apple1.getSize()>apple2.getSize()){
            System.out.println("默认挑大的");
            System.out.println(apple1);
        }
    }
}
